package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.StrategyComment;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.StrategyCommentQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyCommentService {
    void saveOrUpdate(StrategyComment entity ,String[] tags);

    PageInfo<StrategyComment> list(QueryObject qo);

    StrategyComment selectById(Long id);


    List<StrategyComment> selectAll();

    List<String> queryTagsByStrategyId(Long strategyId, Integer size);

    PageInfo queryCommentsByUserId(StrategyCommentQueryObject qo);
}
